package com.ln.asset.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhaojiaqi
 * @since 2022-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbStatistics对象", description="")
public class TbStatistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请单号")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "申请人")
    private String userName;

    @ApiModelProperty(value = "申请时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate userTime;

    @ApiModelProperty(value = "归属仓库")
    private String needCang;

    @ApiModelProperty(value = "申请类型")
    private String type;

    @ApiModelProperty(value = "审核状态")
    private String checkType;

    @ApiModelProperty(value = "审核完结时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate updateTime;


}
